﻿@inherits LayoutComponentBase

<MApp>
    <ErrorBoundary>
        <ChildContent>
            <FirstLaunchDialog />

            <MainNavigationDrawer @bind-Value="NavigationIndex"
                                  Items="NavigationButtons">
            </MainNavigationDrawer>

            <MMain>
                <PPageContainerExtension>
                    @Body
                </PPageContainerExtension>
            </MMain>

            <MainLayoutBottomNavigation @bind-Value="NavigationIndex"
                                        Items="NavigationButtons">
            </MainLayoutBottomNavigation>
        </ChildContent>

        <ErrorContent>
            <ErrorDialog></ErrorDialog>
        </ErrorContent>
    </ErrorBoundary>
</MApp>
